package com.itheima.demo06;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/7/14 10:32
 */
public class Thread01 extends Thread {
    @Override
    public void run() {
        synchronized (Money.lock) {
            try {
                Thread.sleep(200);
                Money.maney = 90000;
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
